package cn.tedu._05mvcboot03.mapper;

import cn.tedu._05mvcboot03.pojo.dto.UserArticleDTO;
import cn.tedu._05mvcboot03.pojo.entity.Article;
import cn.tedu._05mvcboot03.pojo.vo.ArticleVO;
import cn.tedu._05mvcboot03.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Justin Parker
 * @Date 2024/8/13 0013 16:39
 * @Version 1.0
 */
public interface UserMapper {

    UserVO selectByUsernameAndByPassword(@Param("username") String username,
                                         @Param("password") String password);

    int insertArticle(Article article);

    ArticleVO selectByArticleId(Long id);
}
